<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="__CSS__/bootstrap.min.css">
	<script src="__JS__/jquery.min.js"></script>
	<script src="__JS__/bootstrap.min.js"></script>
</head>
<body>
	<div class="container" style="margin-top: 120px;">
		
		<form class="form-horizontal" role="form" method="post" action="{:url('Index/editNews')}">
			<input type="hidden" name="id" value="{$news.Id}">
		  <div class="form-group">
		    <label class="col-sm-2 control-label">题目</label>
		    <div class="col-sm-10">
		      <input type="text" class="form-control" name="title" placeholder="请输入题目" value="{$news.title}">
		    </div>
		  </div>
		  <div class="form-group">
		    <label class="col-sm-2 control-label">内容</label>
		    <div class="col-sm-10">
		      <textarea class="form-control" name="content" placeholder="请输入内容">{$news.content}</textarea>
		    </div>
		  </div>
		  <div class="form-group">
		    <div class="col-sm-offset-2 col-sm-10">
		      <button type="submit" class="btn btn-default">修改</button>
		    </div>
		  </div>
		</form>

	</div>

</body>
</html>